package cn.rongdao.jrkabao.bean.cashcoupon;

import java.util.List;

/**
 * Created by jack on 2017/8/15
 */

public class SelectCashCouponBean {

    /**
     * num : 1
     * list : [{"id":"3","is_valid":0,"coupon_name":"满减券","coupon_desc":"满6000返50","valid_time":"2017-10-14","amount":"50.00","condition":"6000.00","reason":"取现金额需满6000.00元，还差1,000.00元可用。"},{"id":"2","is_valid":0,"coupon_name":"满减券","coupon_desc":"满6000返50","valid_time":"2017-10-14","amount":"50.00","condition":"6000.00","reason":"取现金额需满6000.00元，还差1,000.00元可用。"},{"id":"1","is_valid":1,"coupon_name":"新手券","coupon_desc":"满5000返30","valid_time":"2017-10-14","amount":"30.00","condition":"5000.00","reason":""}]
     */

    private int num;
    private List<ListBean> list;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 3
         * is_valid : 0
         * coupon_name : 满减券
         * coupon_desc : 满6000返50
         * valid_time : 2017-10-14
         * amount : 50.00
         * condition : 6000.00
         * reason : 取现金额需满6000.00元，还差1,000.00元可用。
         */

        private String id;
        private int is_valid;
        private String coupon_name;
        private String coupon_desc;
        private String valid_time;
        private String amount;
        private String condition;
        private String reason;
        private boolean isSelect;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getIs_valid() {
            return is_valid;
        }

        public void setIs_valid(int is_valid) {
            this.is_valid = is_valid;
        }

        public String getCoupon_name() {
            return coupon_name;
        }

        public void setCoupon_name(String coupon_name) {
            this.coupon_name = coupon_name;
        }

        public String getCoupon_desc() {
            return coupon_desc;
        }

        public void setCoupon_desc(String coupon_desc) {
            this.coupon_desc = coupon_desc;
        }

        public String getValid_time() {
            return valid_time;
        }

        public void setValid_time(String valid_time) {
            this.valid_time = valid_time;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getCondition() {
            return condition;
        }

        public void setCondition(String condition) {
            this.condition = condition;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
    }
}
